//package com.aha.dataanalyzeandview.config;
//
//import org.springframework.boot.actuate.autoconfigure.security.reactive.EndpointRequest;
//import org.springframework.context.annotation.Configuration;
//
//
///**
// * 如果使用的spring-security, 需要添加以下配置来防止 actuator 的端点被拦截
// */
//@Configuration
//public class ActuatorSecurity extends WebSecurityConfigurerAdapter {
//
//	@Override
//	protected void configure(HttpSecurity http) throws Exception {
//		http.requestMatcher(EndpointRequest.toAnyEndpoint()).authorizeRequests()
//			.anyRequest().permitAll()
//	}
//
//}
